package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/****
 * 合同详情
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "contract_item")
public class ContractItem {

    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 站点管理员
     */
    @TableField(value = "admin_id")
    private Long adminId;

    /**
     * 姓名
     */
    @TableField(value = "username")
    private String username;

    /**
     * 身份证
     */
    @TableField(value = "id_card")
    private String idCard;

    /**
     * 电话
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 担保公司
     */
    @TableField(value = "guar_company")
    private Long guarCompany;

    /**
     * 车辆id
     */
    @TableField(value = "repair_code_id")
    private Long repairCodeId;

    /**
     * 租赁方式
     */
    @TableField(value = "lease")
    private Byte lease;

    /**
     * 车辆照片
     */
    @TableField(value = "vehicle_photo")
    private String vehiclePhoto;

    /**
     * 车辆备注
     */
    @TableField(value = "vehicle_remark")
    private String vehicleRemark;

    /**
     * 租车身份
     */
    @TableField(value = "car_rental_status")
    private Long carRentalStatus;

    /**
     * 凭证照片
     */
    @TableField(value = "voucher_photo")
    private String voucherPhoto;

    /**
     * 车辆查验单
     */
    @TableField(value = "veh_inspection_form")
    private String vehInspectionForm;

    /**
     * 付款凭证
     */
    @TableField(value = "payment_voucher")
    private String paymentVoucher;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;
}